<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新建文章</title>
    <link href="/css/new.css" rel="stylesheet" type="text/css"/>
    <script src="/js/jquery-3.3.1.min.js"></script>
    <script src="/js/new.js" type="text/javascript"></script>
    <!-- 注意， 只需要引用 JS，无需引用任何 CSS ！！！-->

</head>
<body>
<header id="top"><h2 style="display: inline-block;margin:20px 10px 0 20px;">甜甜君博客</h2><span>life is sufferring</span>
    <!--<nav><a href="/user-paper.html">首页</a></nav>-->
</header>
<div id="main">
    <div id="in">
        <div id="title">
            <input id="name" name="article_name" type="text" placeholder="文章标题"/>
        </div>
        <hr>

        <div id="editor"></div>


        <script type="text/javascript" src="/js/wangEditor.min.js"></script>
        <script type="text/javascript">
            var E = window.wangEditor;
            var editor = new E('#editor');
            //            var editor = new E(document.getElementById('editor'));
            editor.create();
        </script>

        <hr>

        <button id="sub">提交</button>

    </div>
</div>

<div id="bottom">
    <p>© 2018 甜甜君博客. Some rights reserved | Feed | Sitemap</p>

    <p>Powered by PuGo 0.10.0 (beta). Theme by Default.</p>
</div>


</body>
</html>